#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int num;
    int i, j;
    while (scanf("%d", &num) != EOF)
    {
        for (i = 1; i <= num; i++)
        {
            j = i-1;
            while (j)
            {
                printf(" ");
                j--;
            }
            printf("*\n");
        }
    }
	return 0;
}